//
//  FiveViewController.m
//  WisdomZhuHai
//
//  Created by yewei on 13-8-28.
//  Copyright (c) 2013年 wyd. All rights reserved.
//

#import "FiveViewController.h"
#import "Common.h"
#import "ASIDownloadCache.h"

@interface FiveViewController ()

@property (nonatomic,retain) MoreViewController *moreControl;
@end

@implementation FiveViewController
@synthesize moreControl;

- (id)init
{
    self = [super init];
    if(self)
    {
        self.title = NSLocalizedString(@"More", nil);
        self.tabBarItem = [[[UITabBarItem alloc]initWithTabBarSystemItem:UITabBarSystemItemMore tag:tabbar_more]autorelease];

    }
    return self;
}

-(void)dealloc
{
    [moreControl release];
    [super dealloc];
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    float y = 100;
    self.moreControl = [[[MoreViewController alloc]initWithFrame:CGRectMake(0, y, self.view.bounds.size.width, self.view.bounds.size.height - y) navControl:self.navigationController]autorelease];
    [self.view addSubview:self.moreControl.view];
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    [moreControl viewWillAppear:animated];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
